package sunwin.yoms.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import sunwin.yoms.domain.resource.StadiumDomain;

import java.sql.Time;
import java.util.List;

/**
 * Created by watson on 2015/7/30.
 */
@Repository
public interface StadiumDao extends DaoBase<StadiumDomain>{
    /**
     * 查找所有场馆
     */
    List<StadiumDomain> getDomainCollectionExtend(
            @Param("domain") StadiumDomain stadiumDomain,
            @Param("startTime") Time startTime,
            @Param("endTime") Time endTime
    );
}
